/**
 * 弹窗配置
 * 租户角色 tenant-role
 * 新增 tenant-role-add
 */
export default {
  'tenant-role': {
    'tenant-role-add': {
      popTitle: '新增租户角色',
      popType: 'AddTenantRole',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        popType: 'add'
      }
    },
    'tenant-role-user-look': {
      popTitle: '查看所属租户',
      popType: 'RoleTenantUse',
      visible: true,
      popConfig: {
        hideFooterBtn: true,
        width: '50%',
        destroy: true,
        overflow: 'auto',
        editType: 'detail'
      }
    },
    'tenant-role-user-look-edit': {
      popTitle: '编辑所属租户',
      popType: 'RoleTenantUse',
      visible: true,
      popConfig: {
        hideFooterBtn: true,
        width: '50%',
        overflow: 'auto',
        destroy: true,
        editType: 'edit'
      }
    },
    'rule-manage-edit': {
      popTitle: '编辑租户角色',
      popType: 'AddTenantRole',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        popType: 'edit'
      }
    },
    'tenant-role-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的角色信息？',
      splitProp: 'roleName',
      paramsProp: { id: 'id' },
      path: 'tenantRole.roleDelById'
    },
    'tenant-role-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX角色信息？',
      splitProp: 'roleName',
      paramsProp: { ids: 'id' },
      path: 'tenantRole.batchDelete'
    }
  }
}
